home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000824-20010305 / 000275_news@columbia.edu _Sun Feb 11 13:45:24 2001.msg < prev    next >
Internet Message Format  |  2020-01-01  |  5KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA09619
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Sun, 11 Feb 2001 13:45:24 -0500 (EST)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA20753
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Sun, 11 Feb 2001 13:45:24 -0500 (EST)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA19095
  10.     for kermit.misc@watsun.cc.columbia.edu; Sun, 11 Feb 2001 13:34:17 -0500 (EST)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: fdc@columbia.edu (Frank da Cruz)
  13. Subject: Re: Kermit for uploads/downloads in Pine?
  14. Date: 11 Feb 2001 18:34:16 GMT
  15. Organization: Columbia University
  16. Message-ID: <966lv8$ikk$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <966gmt$ck$1@sylvester.vcn.bc.ca>,
  20. David Stow  <dastow@vcn.bc.ca> wrote:
  21. : I'd like to set the upload-command and download-command variables in my
  22. : .pinerc file so that Pine's Read and Export commands use Kermit to
  23. : transfer files from or to my home computer.  Is it enough to include a
  24. : variable like:
  25. : upload-command=ckermit -i -r
  26. : or do I also need to add something like:
  27. : upload-command-prefix=PCGET
  28. : I'm using MSKermit 3.15 on my home computer and my account is on a SunOS
  29. : 5.6 system with CKermit 6.0.192 and Pine 4.21.
  30. The Kermit FAQ has a section on Pine, but it is probably dated, since it
  31. doesn't say anything about upload and download commands, and was probably
  32. written before Pine had them.  Pine users are encouraged to supply up-to-
  33. date information (including relevant Pine version numbers).
  34.  
  35. (begin quote)
  36.  
  37. 18. How Do I Use Kermit with Pine?
  38.  
  39. Here's a tip sheet we use at Columbia University - thanks to Joe Brennan.
  40.  
  41. SCREEN FORMATTING
  42.  
  43. Make sure that your UNIX terminal type agrees with Kermit's terminal emulation.
  44. For example, if Kermit is emulating a VT320, tell UNIX:
  45.  
  46.   export TERM=vt320
  47.  
  48. or:
  49.  
  50.   setenv TERM vt320
  51.  
  52. If there is a complaint about "terminal type unknown" when starting Pine, then
  53. try a lesser VT terminal model, such as VT220, VT102, VT100.
  54.  
  55. PRINTING
  56.  
  57. Pine's print command, letter Y, is known to work with MS-DOS Kermit and Mac
  58. Kermit.  With MS-DOS Kermit, if the printer is directly attached, it should
  59. make the printer print the selected email message.  With Mac Kermit, it should
  60. send the selected email message into the printer buffer, which can be seen in
  61. the Printer window, and which can be printed using the print command in the
  62. pulldown File menu.
  63.  
  64. The command ''pcprint'' on UNIX (*), which prints any text file, does the same
  65. thing as Pine's Print command.  It may be easier to debug problems by running a
  66. command like ''pcprint .profile'' at the UNIX shell ($ prompt).
  67.  
  68. (*) pcprint is a UNIX shell script:
  69.  
  70. ---(cut here)---
  71. echo -n '<ESC>[5i'
  72. if [ $# -eq 0 ]; then
  73.   cat
  74. else
  75.   cat $*
  76. fi
  77. echo -n '<ESC>[4i'
  78. ---(cut here)---
  79.  
  80. (Replace <ESC> by a real Escape (ASCII 27) character.
  81.  
  82. DOWNLOADING FROM PINE TO THE PC
  83.  
  84. Use Pine's command letter E, Export, to copy a message into a file.  This file
  85. will be created in your home directory on UNIX.  Then it can be downloaded to
  86. your PC or Mac using Kermit.  After you finish, remember to remove the
  87. now-unneeded file on UNIX, using the ''rm'' command at the $ prompt.
  88.  
  89. If you View a MIME-encoded message, Pine will ask whether to save it to a file
  90. with a name of your choice.  Pine will decode the message and create the file
  91. in your home directory on UNIX.  It can then be downloaded to your PC using
  92. kermit.  MIME-encoded files are often binaries rather than plain text, so you
  93. should set kermit to transfer a binary file.
  94.  
  95. UPLOADING FROM THE PC TO PINE
  96.  
  97. Send email in plain text if possible.  Save the document as plain ASCII text
  98. with the PC application that created it.  Use Kermit to upload it to UNIX.  Run
  99. Pine, choose letter C, Compose, and address your message as usual.  Move the
  100. cursor to the Message Text area and choose control-R, Read File, and type the
  101. name the file (the copy on UNIX) to insert.  You will see the file on screen,
  102. as if you had typed it.  If it looks strange, it's not plain text, so start
  103. over.  After you finish, remember to remove the now-unneeded file on UNIX,
  104. using the ''rm'' command at the $ prompt.
  105.  
  106. If you want to send a PC document, use Kermit to upload it, setting Kermit to
  107. transfer a binary file.  Run Pine, choose letter C, Compose, and at the
  108. Attchmnt: header, type the name of the file (the copy on UNIX).  Pine will
  109. encode it using MIME, and attach it to the end of any text you choose to type
  110. in the message.  *Note*: with MIME or any form of encoding, you should
  111. determine whether the recipient of your message will be able to decode it.
  112. Plain text email (previous paragraph) can be read on any email system.
  113.  
  114. (End quote)
  115.  
  116. - Frank